package com.example.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.Storage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StorageMapper extends BaseMapper<Storage> {
    Storage selectStorageById(@Param("id") Integer id);

    void updateStorage(@Param("commodityCode") String commodityCode, @Param("count") Integer coount);
}